//
//  RegisterViewController.m
//  littleLight's Project-A
//
//  Created by dllo on 16/5/28.
//  Copyright © 2016年 light. All rights reserved.
//

#import "RegisterViewController.h"

@interface RegisterViewController ()
@property (nonatomic, strong) UITextField *userName;
@property (nonatomic, strong) UITextField *passWordOne;
@property (nonatomic, strong) UITextField *passWordTwo;

@end

@implementation RegisterViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor whiteColor];
    
    self.userName = [[UITextField alloc] initWithFrame:CGRectMake(50, 150, [UIScreen mainScreen].bounds.size.width - 100 , 50)];
    
    self.userName.layer.borderColor = [[UIColor grayColor] CGColor];
    self.userName.layer.borderWidth = 1;
    self.userName.placeholder = @"请输入账号";
    [self.view addSubview:self.userName];
    
    self.passWordOne = [[UITextField alloc] initWithFrame:CGRectMake(50, 220, [UIScreen mainScreen].bounds.size.width - 100 , 50)];
    
    self.passWordOne.layer.borderColor = [[UIColor grayColor] CGColor];
    self.passWordOne.layer.borderWidth = 1;
    self.passWordOne.placeholder = @"请输入密码";
    [self.view addSubview:self.passWordOne];
    
    
    
    self.passWordTwo = [[UITextField alloc] initWithFrame:CGRectMake(50, 290, [UIScreen mainScreen].bounds.size.width - 100 , 50)];
    
    self.passWordTwo.layer.borderColor = [[UIColor grayColor] CGColor];
    self.passWordTwo.layer.borderWidth = 1;
    self.passWordTwo.placeholder = @"请再次输入密码";
    [self.view addSubview:self.passWordTwo];
    
    self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"完成注册" style:UIBarButtonItemStylePlain target:self action:@selector(finishRegisterAction)];
    
    
    
    
    
    
    
    
}



- (void)finishRegisterAction
{
    
    
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
